<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/2/16
  Time: 18:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="java.util.List" %>
<%@ page import="com.zhiyou.model.House" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>公寓系统 - 用户信息更新</title>
    <link rel="stylesheet" href="../../css/main.css">
    <link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>

<div class="box">
    <h3>更新用户信息</h3>
    <form action="<c:url value="/user/userUpdate?pageNo=${pageUtil.pageNo}"/>" method="post">
        <table class="form-table">
            <input type="hidden" name="uid" value="${user.uid}">
            <tr>
                <td>姓名</td>
                <td colspan="3" class="control">
                    <input type="text" name="uname" placeholder="姓名" value="${user.uname}">
                </td>
            </tr>
            <tr>
                <td>密码</td>
                <td colspan="3" class="control">
                    <input type="text" name="upassword" placeholder="密码" value="${user.upassword}">
                </td>
            </tr>
            <tr>
                <td>真实姓名</td>
                <td colspan="3" class="control">
                    <input type="text" name="urealname" placeholder="真实姓名" value="${user.urealname}">
                </td>
            </tr>
            <tr>
                <td>职位序号</td>
                <td colspan="3" class="control">
                    <input type="text" name="uroid"  value="${user.uroid}">
                </td>
            </tr>
            <tr>
                <td>添加时间</td>
                <td colspan="3" class="control">
                    <input type="date" name="uaddTime"  value="${user.uaddTime}">
                </td>
            </tr>
            <tr>
                <td>状态</td>
                <td colspan="3" class="control">
                    <input type="text" name="ustatus"  value="${user.ustatus}">
                </td>
            </tr>
        </table>
        <div class="buttons">
            <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>
</html>